package cn.com.shinho.hg.core.base.response;

import org.springframework.http.HttpStatus;

/**
 * 请求成功的返回
 *
 * @author Mr.Ye
 * @Date 2018/6/4 22:38
 */
public class SuccessResponseData extends ResponseData {

    public SuccessResponseData() {
    }

    public SuccessResponseData(Object object) {
        super(true, HttpStatus.OK.value(), HttpStatus.OK.name(), object);
    }

    public SuccessResponseData(Integer code, String message, Object object) {
        super(true, code, message, object);
    }
}
